package com.isxcode.spark.api.cluster.req;

import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.NotEmpty;
import lombok.Data;

@Data
public class UpdateClusterReq {

    @Schema(title = "计算引擎唯一id", example = "sy_fd34e4a53db640f5943a4352c4d549b9")
    @NotEmpty(message = "计算引擎id不能为空")
    private String clusterId;

    @Schema(title = "计算引擎名称", example = "至轻云内部计算引擎")
    @NotEmpty(message = "引擎名称不能为空")
    private String name;

    @Schema(title = "备注", example = "仅供内部使用")
    private String remark;
}
